<?php


namespace App\Api\Models;


use Illuminate\Database\Eloquent\Model;

class CmcPromotionPintuanGoods extends Model
{
    protected $table= 'cmc_promotion_pintuan_goods';

    //获得需要的数据
    static public function OnceGoods($gid,$allow_field)
    {
        return CmcPromotionPintuanGoods::where('id',$gid)->get($allow_field)->toArray();
    }
}
